//app.js
App({
  onLaunch: function () {
    let user = wx.getStorageSync("user")
    console.log(user)
    if (!user) {
      wx.login({

        success (res) {
          console.log(res)
          console.log("res")
        }
      })
    }
   
  },
  //全局变量
  config: {
    apiBase: 'https://locally.uieee.com'
  }
})

